<template>
    <div id="users">
    </div>
</template>
<script>
export default {
    data() {
        return {
            users: [],
            page: { next_page: 1 }
        }
    },
    create() {
        this.$http("users", { params: { page: this.next_page } }).then(res => {
            this.users = res.users
            this.page = res.page
        })
    },
    create() {
        this.$http("users", { params: { page: this.next_page } }).then(res => {
            let result = JSON.parse(res.data)
            this.users = result.users
            this.page = result.page
        })
    },
    mounted() {
        // this.getUserAction()
    },
    methods: {

    }
}
</script>
